package goko.simple.contract;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * Created by lsl on 2021/7/8.
 */
@Data
public class GoodsUpdateParam {

    @NotNull(message = "商品id不能为空")
    private Long id;

    @NotBlank(message = "商品名称不能为空")
    private String name;

    private String remark;

    @NotNull(message = "请指定商品状态")
    private Integer status;

    @NotBlank(message = "请指定商品类型")
    private String type;
}
